package net.sudot.chess.business.dao;

import net.sudot.chess.business.model.Category;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 游戏分类
 *
 * @author tangjialin on 2018-02-27.
 */
@Repository
public class CategoryDao extends BaseDao<Category> {
    /**
     * 获取游戏分类
     *
     * @return 返回分类
     */
    @Override
    public List<Category> findAll() {
        return findList("deleted", false);
    }
}
